package day05;

import java.util.Scanner;

/*
    需求：键盘录入数据，输出N*N乘法表
 */
public class FunctionDemo5 {
    public static void main(String[] args) {

        NtoN();

    }

    /*
            功能：键盘录入数据，输出N*N乘法表
            return：void
            parameter:empty
         */
    public static void NtoN(){
        Scanner sc = new Scanner(System.in);

        int i,j;
        int n = sc.nextInt();

        for(i=1;i<=n;i++){
            for(j=1;j<=i;j++){
                System.out.print(i+"*"+j+"="+i*j+"\t");
            }
            System.out.println();
        }


    }

}
